package me.zzde.wallpaper.model;

public class UserWallpaper {
    private Integer id;
    private Integer userId;
    private String wallpaperTitle;
    private String wallpaperThumb;
    private String wallpaperOrigin;
    private Integer wallpaperCategoryId;
    private Integer viewCount;
    private Integer loveCount;

    private boolean isLove = false;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getWallpaperTitle() {
        return wallpaperTitle;
    }

    public void setWallpaperTitle(String wallpaperTitle) {
        this.wallpaperTitle = wallpaperTitle;
    }

    public String getWallpaperThumb() {
        return wallpaperThumb;
    }

    public void setWallpaperThumb(String wallpaperThumb) {
        this.wallpaperThumb = wallpaperThumb;
    }

    public String getWallpaperOrigin() {
        return wallpaperOrigin;
    }

    public void setWallpaperOrigin(String wallpaperOrigin) {
        this.wallpaperOrigin = wallpaperOrigin;
    }

    public Integer getWallpaperCategoryId() {
        return wallpaperCategoryId;
    }

    public void setWallpaperCategoryId(Integer wallpaperCategoryId) {
        this.wallpaperCategoryId = wallpaperCategoryId;
    }

    public Integer getViewCount() {
        return viewCount;
    }

    public void setViewCount(Integer viewCount) {
        this.viewCount = viewCount;
    }

    public Integer getLoveCount() {
        return loveCount;
    }

    public void setLoveCount(Integer loveCount) {
        this.loveCount = loveCount;
    }

    public boolean isLove() {
        return isLove;
    }

    public void setLove(boolean love) {
        isLove = love;
    }

    @Override
    public String toString() {
        return "UserWallpaper{" +
                "id=" + id +
                ", userId=" + userId +
                ", wallpaperTitle='" + wallpaperTitle + '\'' +
                ", wallpaperThumb='" + wallpaperThumb + '\'' +
                ", wallpaperOrigin='" + wallpaperOrigin + '\'' +
                ", wallpaperCategoryId=" + wallpaperCategoryId +
                ", viewCount=" + viewCount +
                ", loveCount=" + loveCount +
                ", isLove=" + isLove +
                '}';
    }
}
